package com.xyz.practice.jdbc.databasemetadata;

import java.io.Serializable;

public class ColumnPrivilege implements Serializable {

    private static final long serialVersionUID = 8532093440653495540L;

    ColumnPrivilege() {

    }

    /**
     * table catalog (may be null)
     */
    private String tableCat;
    /**
     * table schema (may be null)
     */
    private String tableSchem;
    /**
     * table name
     */
    private String tableName;
    /**
     * column name
     */
    private String columnName;
    /**
     * grantor of access (may be null)
     */
    private String grantor;
    /**
     * grantee of access
     */
    private String grantee;
    /**
     * name of access (SELECT, INSERT, UPDATE, REFRENCES, ...)
     */
    private String privilege;
    /**
     * "YES" if grantee is permitted to grant to others; "NO" if not; null if unknown
     */
    private String isGrantable;

    String getTableCat() {
        return tableCat;
    }

    void setTableCat( String tableCat ) {
        this.tableCat = tableCat;
    }

    String getTableSchem() {
        return tableSchem;
    }

    void setTableSchem( String tableSchem ) {
        this.tableSchem = tableSchem;
    }

    String getTableName() {
        return tableName;
    }

    void setTableName( String tableName ) {
        this.tableName = tableName;
    }

    String getColumnName() {
        return columnName;
    }

    void setColumnName( String columnName ) {
        this.columnName = columnName;
    }

    String getGrantor() {
        return grantor;
    }

    void setGrantor( String grantor ) {
        this.grantor = grantor;
    }

    String getGrantee() {
        return grantee;
    }

    void setGrantee( String grantee ) {
        this.grantee = grantee;
    }

    String getPrivilege() {
        return privilege;
    }

    void setPrivilege( String privilege ) {
        this.privilege = privilege;
    }

    String getIsGrantable() {
        return isGrantable;
    }

    void setIsGrantable( String isGrantable ) {
        this.isGrantable = isGrantable;
    }
}
